package cc.iotkit.generator.mapper;

import cc.iotkit.common.api.PageRequest;
import cc.iotkit.common.api.Paging;
import cc.iotkit.generator.dto.bo.DevicesByGroupIdBo;
import cc.iotkit.generator.dto.bo.RuleByPksBo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RuleInfoDataMapper {
    List<DevicesByGroupIdBo> selectDevicesByGroupId(String groupId);

    IPage<RuleByPksBo> selectRuleByPks(Page<RuleByPksBo> page, List<DevicesByGroupIdBo> devices, String name);
}
